using System.IO;

namespace PCC
{
    public interface IFileStorage
    {
        string Upload(string filename, Stream input, string contentType);
        string Upload(string filename, byte[] data, string contentType);
        string Upload(string filename, string data, string contentType);
        string Upload<T>(string filename, T data);
        T Download<T>(string filename);
    }
}